home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- main()
- {
- char name[25]; /* The gets() function means get string */
- puts("Enter your name: "); /* A carriage return is made after each */
- gets(name); /* entry. */
- puts("Your name is: "); /* The puts() function will only handle */
- puts(name); /* one string at a time so the last two */
- } /* entries can''t be combined */